<%@page import="com.sfd.entity.Book"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addbook.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
<body align="center"  bgcolor="#0094D4">
<%
	Book book = (Book)request.getAttribute("detail");
	
%>
  <table width="100%" height="285" border="0" align="center" style="margin-top:-7px;margin-right:-5px;'">
    <tr align="center" bgcolor="#F3F3F3">
      <td  colspan="2" bgcolor="#CCFFFF">图书详细描述</td>
    </tr>
    <tr  bgcolor="#DAE0F1">
      <td width="165" align="center" bgcolor="#EBEBEB">图书编号：</td>
      <td width="686" ><%=book.getBookID()%></td>
    </tr>
	  <tr  bgcolor="#DAE0F1" >
      <td width="165" align="center" bgcolor="#EBEBEB">图书名称：</td>
      <td width="686" ><%=book.getBookName()%></td>
	  </tr>
	  <tr  bgcolor="#DAE0F1">
      <td width="165" align="center" bgcolor="#EBEBEB">图书作者：</td>
      <td width="686" ><%=book.getAuthor()%></td>
	  </tr>
	  <tr  bgcolor="#DAE0F1">
      <td width="165" align="center" bgcolor="#EBEBEB">图书出版社：</td>
      <td width="686" ><%=book.getPublish()%></td>
	  </tr>
	  <tr  bgcolor="#DAE0F1">
      <td width="165" align="center" bgcolor="#EBEBEB">图书进馆时间：</td>
      <td width="686" ><%=book.getBuyTime()%></td>
	  </tr>
	  <tr  bgcolor="#DAE0F1">
      <td width="165" align="center" bgcolor="#EBEBEB">图书价格：</td>
      <td width="686" ><%=book.getBookPrice()%></td>
	  </tr>
	  <tr  bgcolor="#DAE0F1">
      <td width="165" align="center" bgcolor="#EBEBEB">图书状态：</td>
      <td width="686" ><%=book.getBookStatus()%></td>
	  </tr>
	  <tr  bgcolor="#DAE0F1">
      <td width="165" align="center" bgcolor="#EBEBEB">图书梗概：</td>
      <td width="686" ><%=book.getSummary()%></td>
	  </tr>
</table>

</body>
</html>
